package cn.bs.busuo.front.content.dao.persist.repository;

import cn.bs.busuo.front.content.pojo.entity.ContentHotelComment;
import cn.bs.busuo.front.content.pojo.entity.ContentSightComment;

/**
 * @author: Feng
 * @since: 2023/12/9
 */
public interface UserCommentRepository {
    //酒店文章一级评论
    int insertHotelComment(ContentHotelComment contentHotelComment);
    //查看酒店一级评论是否存在
    ContentHotelComment selectHotelCommentById(Long id);
    //删除酒店评论
    int updateHotelCommentById(Long id);


    //景点文章一级评论
    int insertSightComment(ContentSightComment contentSightComment);
    //查看景点一级评论是否存在
    ContentSightComment selectSightCommentById(Long id);
    //删除景点评论
    int updateSightCommentById(Long id);
}
